import { ApiProperty } from "@nestjs/swagger";
import { IsDateString } from "class-validator";

export class DateRangeDto {
  @IsDateString()
  @ApiProperty({
    description: "开始时间",
  })
  start: string;

  @IsDateString()
  @ApiProperty({
    description: "结束时间",
  })
  end: string;
}
